#pragma once
#include <stdio.h>

class FileManager
{
private:
	char *m_root;
	static FileManager *s_instance;

	FileManager(void);
	~FileManager(void);

public:
	static FileManager* GetInstance();
	static void Destroy();

	void Init(const char *root);
	FILE* Open(const char *fileName, const char *mode);
	void Close(FILE *pFile);
};
